package com.qfedu.pojo;

public class MyLoan {
    int  id;
    int pid;
    String idcode;
    String pname;
    String pnum;//贷款数额
    String payDate;//贷款日期
    int loanDate;//还款日期
    int loan_f;//还款方式 1为等额本金 2为等额本息

    @Override
    public String toString() {
        return "MyLoan{" +
                "id=" + id +
                ", pid=" + pid +
                ", idcode='" + idcode + '\'' +
                ", pname='" + pname + '\'' +
                ", pnum='" + pnum + '\'' +
                ", payDate='" + payDate + '\'' +
                ", loanDate=" + loanDate +
                ", loan_f=" + loan_f +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getIdcode() {
        return idcode;
    }

    public void setIdcode(String idcode) {
        this.idcode = idcode;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPnum() {
        return pnum;
    }

    public void setPnum(String pnum) {
        this.pnum = pnum;
    }

    public String getPayDate() {
        return payDate;
    }

    public void setPayDate(String payDate) {
        this.payDate = payDate;
    }

    public int getLoanDate() {
        return loanDate;
    }

    public void setLoanDate(int loanDate) {
        this.loanDate = loanDate;
    }

    public int getLoan_f() {
        return loan_f;
    }

    public void setLoan_f(int loan_f) {
        this.loan_f = loan_f;
    }

    public MyLoan(int id, int pid, String idcode, String pname, String pnum, String payDate, int loanDate, int loan_f) {
        this.id = id;
        this.pid = pid;
        this.idcode = idcode;
        this.pname = pname;
        this.pnum = pnum;
        this.payDate = payDate;
        this.loanDate = loanDate;
        this.loan_f = loan_f;
    }

    public MyLoan() {
    }
}
